<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>


</head>
<body>
<div id="app">
    <el-button round icon="el-icon-back"  @click="BackDoctor()">返回</el-button>
    <el-item style="margin-left: 30%;position: absolute; top: 35%;">{{resume.name}}当前还没有添加简历点击去添加简历</el-item><br />
    <el-button  style="margin-left: 46%;position: absolute; top: 40%;" @click="addDoctorResume(resume.id)">添加简历</el-button>



</div>
<script>
    var id = window.location.href.split("=")[1];
    $.get("/ssm/resume/oneName/"+id,function (backData) {
        zz.resume  = backData.data
    });
    var zz = new Vue({
        el: "#app",
        data: {
            resume:[],
        },
        methods: {
            BackDoctor(){
                window.location.href="/ssm/doctors/doctor.html";
            },
            addDoctorResume(id){
                window.location.href="/ssm/doctors/addDoctorResume.html?id="+id;
            }
        },
    });


</script>
</body>
</html>
